/*************************************************************************
 @Author: bighu
 @Created Time : 2021年12月13日 星期一 19时50分01秒
 @File Name: test.cpp
 @Description:
 ************************************************************************/
#include<stdio.h>
#define LINE printf("+---++---++---+\n");
int main(void){
	int turn;
	int player,winner,choice,row,col,line;
	char board[3][3] = {{'1','2','3'},
		{'4','5','6'},
		{'7','8','9'}};
	player =0;
	winner =0;
	choice =0;
	row = 0;
	col = 0;
	line = 0;

	/*draw board*/
	for(turn =0;turn <9 && winner == 0;turn++){
		printf("\n\n");
		LINE;
		printf("%c | %c | %c\n",board[0][0],board[0][1],board[0][2]);
		LINE;
		printf("%c | %c | %c\n",board[1][0],board[1][1],board[1][2]);
		LINE;
		printf("%c | %c | %c\n",board[2][0],board[2][1],board[2][2]);
	}
	return 0;
}
